﻿using Microsoft.Xna.Framework;

namespace StandardFramework.Page
{
    public class Page : IPage
    {
        public Vector2 Origin { get { return m_Origin; } set { m_Origin = value; } }
        protected Vector2 m_Origin = Vector2.Zero;

        public PageState State { get { return m_State; } set { m_State = value; } }
        protected PageState m_State = PageState.Idle;

        public bool OnNavigate(IPage Previous)
        {
            return true;
        }

        public void OnShow()
        {
        }

        public void OnHide()
        {
        }

        public void Update(GameTime GameTime)
        {

        }

        public void Draw(GameTime GameTime)
        {

        }
    }
}
